import http from '@/utils/axios'
export interface IPageQuery {
  pageNum: number
  pageSize: number
}
export interface IQueryUser extends IPageQuery {
  name?: string
  startDate: string
  endDate: string
}
export const GET_USER_LIST = (params: IQueryUser) => {
  return http({
    url: '/getGoods',
    method: 'GET',
    params
  })
}
export const DELETE_USER = (id: string) => {
  return http({
    url: `/deleteGood?id=${id}`,
    method: 'GET'
  })
}
